<?php
require_once('lanceur_spip.php');
require_once(_DIR_PLUGIN_ECATALOGUE.'classes/class.RubriqueCurrencyModel.php');
require_once(_DIR_PLUGIN_PDK.'classes/simpletest/class.PdkModelTest.php');

class testClassRubriqueCurrencyModel extends PdkModelTest {
    // Define test data for model
    protected $model_data = array(
        array('id_rubrique'=>1,'id_currency'=>1),
        array('id_rubrique'=>2,'id_currency'=>2),
        array('id_rubrique'=>3,'id_currency'=>3)
    );
    
    public function __construct(){
        // Call parent constructor with tested model instance
        parent::__construct(new RubriqueCurrencyModel());
    }
    
    /**
     *  Run before each test
     */
    function setUp() {
        
    }
    
    /**
     *  Run after each test
     */
    function tearDown() {
        
    }
    
    function __destruct() {
        // Call parent destructor to delete created tables
        parent::__destruct();
    }
    
}